package com.iov.car.domain;

import com.ruoyi.common.core.annotation.Excel;
import org.hibernate.validator.constraints.Length;

public class TbCarinfoVo {
    private Long id;
    /**
     * 车辆编号
     */
    private String carId;

    /** 车辆VIN */
    @Excel(name = "车辆VIN")
    @Length(min = 17,max = 17,message = "vin是17位")
    private String vin;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 电子围栏 */
    @Excel(name = "电子围栏")
    private String isFence;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private String isStatus;

    /** 电机厂商 */
    @Excel(name = "电机厂商")
    private String machineId;

    /** 电池厂商 */
    @Excel(name = "电池厂商")
    private String batteryId;

    /** 电机编号 */
    @Excel(name = "电机编号")
    private String machineNum;

    /** 电池编号 */
    @Excel(name = "电池编号")
    private String batteryNum;

    private String carName;

    @Override
    public String toString() {
        return "TbCarinfoVo{" +
                "id=" + id +
                ", carId='" + carId + '\'' +
                ", vin='" + vin + '\'' +
                ", carType='" + carType + '\'' +
                ", isFence='" + isFence + '\'' +
                ", isStatus='" + isStatus + '\'' +
                ", machineId='" + machineId + '\'' +
                ", batteryId='" + batteryId + '\'' +
                ", machineNum='" + machineNum + '\'' +
                ", batteryNum='" + batteryNum + '\'' +
                ", carName='" + carName + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getIsFence() {
        return isFence;
    }

    public void setIsFence(String isFence) {
        this.isFence = isFence;
    }

    public String getIsStatus() {
        return isStatus;
    }

    public void setIsStatus(String isStatus) {
        this.isStatus = isStatus;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getBatteryId() {
        return batteryId;
    }

    public void setBatteryId(String batteryId) {
        this.batteryId = batteryId;
    }

    public String getMachineNum() {
        return machineNum;
    }

    public void setMachineNum(String machineNum) {
        this.machineNum = machineNum;
    }

    public String getBatteryNum() {
        return batteryNum;
    }

    public void setBatteryNum(String batteryNum) {
        this.batteryNum = batteryNum;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }
}
